Vt-d: fix dom0 graphics problem on Levnovo T410.
authorKeir Fraser <keir@xen.org>
Sat, 2 Oct 2010 14:04:21 +0000 (15:04 +0100)
committerKeir Fraser <keir@xen.org>
Sat, 2 Oct 2010 14:04:21 +0000 (15:04 +0100)
commit49c831eaa4aa836112e703b46e838838893d85fb
treee505f06461446be8057020dce17478a8e1b02229
parenta2e6c0b846955726b29acf983b567dfdefe2a368
Vt-d: fix dom0 graphics problem on Levnovo T410.

The patch is derived from a similar quirk in Linux kernel by David
Woodhouse and Adam Jackson.  It checks for VT enabling bit in IGD GGC
register.  If VT is not enabled correctly in the IGD, Xen does not
enable VT-d translation for IGD VT-d engine.  In case where iommu boot
parameter is set to force, Xen calls panic().

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/dmar.h
xen/drivers/passthrough/vtd/iommu.c